const mongoose = require("mongoose");
// mongoose.connect('mongodb://pdfUser:pdgUserPsw8*@124.223.197.120:37711/pdf?retryWrites=true&connectTimeoutMS=10000&authSource=hwexam&authMechanism=SCRAM-SHA-1', {useNewUrlParser: true,useUnifiedTopology: true});
// mongoose.connect('mongodb://127.0.0.1:27017/huiwen', {useNewUrlParser: true,useUnifiedTopology: true});
mongoose.connect('mongodb://pdfUser:pdgUserPsw8*@124.223.197.120:37711/pdf', {useNewUrlParser: true,useUnifiedTopology: true});
// mongoose.connect('mongodb://dbadmin:dbtest@124.223.197.120:37711/pdf_test', { useNewUrlParser: true, useUnifiedTopology: true });
module.exports = mongoose;